﻿/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

/**
 *Biz DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2014/11/18             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class OrderItemDTO implements java.io.Serializable, Comparable<OrderItemDTO> {

	private static final long serialVersionUID = 1L;

	private Integer orderID = null;

	private java.sql.Date orderDate = null;

	private java.sql.Time orderTime = null;

	private Double price = null;

	private Boolean isPayed = null;

	private String stateString = null;

	public Integer getOrderID() {
		return this.orderID;
	}

	public void setOrderID(
			Integer orderID) {
		this.orderID = orderID;
	}

	public java.sql.Date getOrderDate() {
		return this.orderDate;
	}

	public void setOrderDate(
			java.sql.Date orderDate) {
		this.orderDate = orderDate;
	}

	public java.sql.Time getOrderTime() {
		return this.orderTime;
	}

	public void setOrderTime(
			java.sql.Time orderTime) {
		this.orderTime = orderTime;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(
			Double price) {
		this.price = price;
	}

	public Boolean getIsPayed() {
		return this.isPayed;
	}

	public void setIsPayed(
			Boolean isPayed) {
		this.isPayed = isPayed;
	}
	
	public String getStateString() {
		return stateString;
	}

	public void setStateString(String stateString) {
		this.stateString = stateString;
	}

  	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
			OrderItemDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}

